Examination support device, examination support method, and examination support program

ABSTRACT

An image acquisition unit acquires an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure. A conversion unit converts an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image. A similarity calculation unit calculates similarity between the converted actual endoscopic image and the virtual endoscopic image.

CROSS REFERENCE TO RELATED APPLICATIONS

The present application claims priority under 35 U.S.C. § 119 to Japanese Patent Application No. 2018-132896 filed on Jul. 13, 2018. The above application is hereby expressly incorporated by reference, in its entirety, into the present application.

BACKGROUND Technical Field

The present disclosure relates to an examination support device, an examination support method, and an examination support program for supporting an examination of a tubular structure such as bronchi using an endoscope or the like.

Related Art

In recent years, a technique of observing or treating a tubular structure such as the large intestine or bronchi of a patient using an endoscope has been attracting attention. However, an endoscopic image is an image in which the color and the texture of the inside of a tubular structure are clearly expressed by an imaging element such as a charge coupled device (CCD) whereas the inside of a tubular structure is shown in a two-dimensional image. For this reason, it is difficult to grasp which position within the tubular structure is represented by the endoscopic image. Particularly, an endoscope for bronchi has a small diameter and a narrow visual field, and therefore, it is difficult to make a distal end of the endoscope reach a target position.

A method for previously acquiring a route to a target point within the tubular structure using a three-dimensional image acquired through tomography in accordance with a modality of a computed tomography (CT) device, a magnetic resonance imaging (MRI) device, or the like, generating a virtual endoscopic image, which is similar to an image actually photographed using an endoscope, from the three-dimensional image, and navigating the route of the endoscope to the target point using the virtual endoscopic image has been proposed. For example, JP5718537B has proposed a method for acquiring route information representing a route of a tubular structure from a three-dimensional image, generating a large number of virtual endoscopic images along the route, matching the virtual endoscopic images with actual endoscopic images which are acquired through imaging using an endoscope, and specifying a virtual endoscopic image at a current position of the endoscope to specify a distal end position of the endoscope.

However, even in a case where the navigation image is used, in a case of a structure having routes, such as bronchi, which are branched in multi-stages, a skilled technique is required for making a distal end of an endoscope reach a target position within a short period of time.

For this reason, a method for converting the intensity of the virtual endoscopic images into a gray scale and matching the actual endoscopic images with the virtual endoscopic images which have been converted into the gray scale to specify a distal end position of the endoscope is proposed (refer to JP2003-265408A).

Since the endoscope is inserted into the tubular structure, due to the influence of mucus in the body, body fluids may adhere to the lens at the endoscope distal end, and the lens may become cloudy. In addition, an object that cannot be imaged by tomography may be included in an actual endoscopic image. In a case where fogging of the lens or an object that cannot be imaged by photographing is included as a noise in the actual endoscopic image, even when the virtual endoscopic image is converted into a gray scale, it is difficult to accurately match the actual endoscopic image with the virtual endoscopic image. As a result, it is difficult to accurately specify the distal end position of the endoscope.

SUMMARY OF THE INVENTION

The present disclosure has been made in consideration of the above-described circumstances, and an object of the present disclosure is to accurately match an actual endoscopic image with a virtual endoscopic image.

An examination support device according to the present disclosure comprises an image acquisition unit configured to acquire an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure; a conversion unit configured to convert an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image; and a similarity calculation unit configured to calculate similarity between the converted actual endoscopic image and the virtual endoscopic image.

The “expression form” means, so to speak, a style of an image which affects an impression of an image with respect to a viewer in a case where the image is displayed. For example, in a case where the image is a medical image, and the medical image is acquired by actually performing imaging, the expression form of the medical image is an actual photo style. In addition, in a case where a medical image is generated through computer graphics (CG), the expression form of the medical image is a CG style. In addition, in a case where a medical image is generated by projecting a three-dimensional image using a projection method such as volume rendering, the expression form of the medical image is a CG style and becomes a volume rendered image style. Furthermore, in a case where a medical image is an actual endoscopic image, the medical image is an actual photo style and an actual endoscopic image style. In a case where a medical image is a virtual endoscopic image, the medical image is a CG style and a virtual endoscopic image style. Each of the expression forms is determined by the characteristics such as a range of parameters relating to gradation and color expression of an image, texture expression (asperity, fineness, a noise amount, and noise characteristics of an image), surface reflectance, and transparency, but the present invention is not limited thereto.

The examination support device according to the present disclosure may further comprise a position estimation unit configured to estimate a position of the endoscope in the tubular structure using the virtual endoscopic image of which the calculated similarity is greater than or equal to a predetermined threshold value.

The examination support device according to the present disclosure may further comprise a display control unit configured to display the virtual endoscopic image corresponding to the estimated position of the endoscope and the converted actual endoscopic image on a display unit.

In addition, the examination support device according to the present disclosure may further comprise a virtual endoscopic image generation unit configured to generate the virtual endoscopic image from the three-dimensional image.

An examination support method according to the present disclosure comprises: acquiring an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure; converting an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image; and calculating similarity between the converted actual endoscopic image and the virtual endoscopic image.

There may be a program for causing a computer to execute the examination support method according to the present disclosure.

Another examination support device according to the present disclosure comprises: a memory configured to store an instruction to be executed by a computer; and a processor configured to execute the stored instruction. The processor executes: acquiring an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure; converting an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image; and calculating similarity between the converted actual endoscopic image and the virtual endoscopic image.

According to the present disclosure, an actual endoscopic image and a virtual endoscopic image are acquired, an expression form of the actual endoscopic image is converted into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image, and similarity between the converted actual endoscopic image and the virtual endoscopic image is calculated. Therefore, even in a case where a noise is included in the actual endoscopic image, when the actual endoscopic image is converted into the expression form of the virtual endoscopic image, the noise is canceled. Accordingly, according to the present disclosure, it is possible to accurately calculate similarity between the actual endoscopic image and the virtual endoscopic image.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a hardware configuration diagram showing an outline of a diagnosis support system to which an examination support device according to an embodiment of the present disclosure is applied.

FIG. 2 is a view showing a schematic configuration of the examination support device realized by installing an examination support program in a computer.

FIG. 3 is a view showing a bronchial image.

FIG. 4 is a view showing a bronchial image in which a route of an endoscope is set.

FIG. 5 is a diagram for illustrating conversion of an actual endoscopic image.

FIG. 6 is a diagram for illustrating a range of virtual endoscopic images for calculating the similarity.

FIG. 7 shows a display image.

FIG. 8 is a flowchart showing processing performed in the present embodiment.

FIG. 9 is a hardware configuration diagram showing an outline of a diagnosis support system to which an examination support device according to another embodiment of the present disclosure is applied.

DETAILED DESCRIPTION

Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. FIG. 1 is a hardware configuration diagram showing an outline of a diagnosis support system to which an examination support device according to the present embodiment is applied. As shown in FIG. 1, an endoscope device 3, a three-dimensional image photographing device 4, an image storage server 5, and an examination support device 6 are connected to each other in a communicable state via a network 8 in the system of the present embodiment.

The endoscope device 3 comprises an endoscopic scope 31 imaging the inside of a tubular structure of a subject, and a processor device 32 generating an image of the inside of the tubular structure based on a signal obtained through imaging.

An insertion portion of the endoscopic scope 31 to be inserted into the tubular structure of the subject is continuously attached to an operation portion 3A. The endoscopic scope 31 is connected to the processor device 32 via a universal cord which is attachably and detachably connected to the processor device 32. The operation portion 3A includes various buttons for instructing an operation such that a distal end 3B of the insertion portion is curved in a vertical direction and a horizontal direction within a predetermined angular range, or for collecting a sample of tissue by operating a puncture needle attached to a distal end of the endoscopic scope 31. In the present embodiment, the endoscopic scope 31 is a flexible endoscope for bronchi and is inserted into a bronchus of a subject. Then, light guided by an optical fiber from a light source device which is not shown in the drawing and is provided in the processor device 32 is emitted from the distal end 3B of the insertion portion of the endoscopic scope 31, and an image within the bronchus of the subject is obtained using an imaging optical system of the endoscopic scope 31. The distal end 3B of the insertion portion of the endoscopic scope 31 will be referred to as an endoscope distal end 3B in the following description for ease of the description.

The processor device 32 generates an endoscopic image T0 by converting an imaging signal imaged using the endoscopic scope 31 into a digital image signal and by correcting the quality of the image through digital signal processing such as white balance adjustment and shading correction. The generated image is a color moving image represented, for example, by a predetermined sampling rate such as 30 fps, and one frame of the moving image becomes the endoscopic image T0. The endoscopic image T0 is sequentially transmitted to the image storage server 5 or the examination support device 6. Here, in the following description, the endoscopic image T0 photographed using the endoscope device 3 is referred to as an actual endoscopic image T0 in order to distinguish it from a virtual endoscopic image to be described below, but is not limited thereto.

The three-dimensional image photographing device 4 is a device generating a three-dimensional image V0 representing an examination target site of the subject by imaging the site, and specific examples thereof include a CT device, an MRI device, a positron emission tomography (PET) device, and an ultrasound diagnostic apparatus. The three-dimensional image V0 generated by this three-dimensional image photographing device 4 is transmitted to and stored in the image storage server 5. In the present embodiment, the three-dimensional image photographing device 4 generates the three-dimensional image V0 obtained by imaging the chest including bronchi. In the present embodiment, the three-dimensional image photographing device 4 is a CT device, but the present invention is not limited thereto.

The image storage server 5 is a computer storing and managing various kinds of data and comprises a large-capacity external storage device and software for managing a database. The image storage server 5 communicates with other devices via the network 8 to transmit and receive image data or the like. Specifically, image data pieces such as the actual endoscopic image T0 acquired by the endoscope device 3 and the three-dimensional image V0 generated by the three-dimensional image photographing device 4 are acquired via the network, and the image data pieces are stored in a recording medium such as the large-capacity external storage device and are managed. The actual endoscopic image T0 is a moving image. For this reason, the actual endoscopic image T0 is preferably transmitted to the examination support device 6 without passing through the image storage server 5. The storage form of image data or the communication between the devices via the network 8 is based on protocols such as digital imaging and communication in medicine (DICOM).

The examination support device 6 is prepared by installing the examination support program of the present disclosure in one computer. The computer may be a workstation or a personal computer which is directly operated by a doctor performing a diagnosis, or may be a server computer which is connected to the workstation or the personal computer via a network. The examination support program is distributed by being recorded in a recording medium such as a digital versatile disc (DVD) or a compact disk read only memory (CD-ROM) and is installed in a computer from the recording medium. Alternatively, the examination support program is installed by being stored in a storage device of a server computer connected to a network or in network storage in an accessible state from the outside and by being downloaded in the computer used by a doctor who is an operator of the examination support device 6 as necessary.

FIG. 2 is a view showing a schematic configuration of the examination support device realized by installing an examination support program in a computer. As shown in FIG. 2, the examination support device 6 comprises a central processing unit (CPU) 11, a memory 12, and a storage 13 as a standard workstation configuration. In addition, a display unit 14, and an input unit 15 such as a mouse are connected to the examination support device 6. The display unit 14 includes a liquid crystal display or the like.

The storage 13 includes a hard disk drive or the like and stores the actual endoscopic image T0 and the three-dimensional image V0 acquired from the endoscope device 3, the three-dimensional image photographing device 4, the image storage server 5, and the like via the network 8, images (for example, virtual endoscopic images to be described below) generated through processing performed in the examination support device 6, various pieces of information required for the processing, and the like.

In addition, the examination support program is stored in the memory 12. As processing to be executed by the CPU 11, the examination support program defines: image acquisition processing for acquiring image data pieces such as the actual endoscopic image T0 generated by the processor device 32, the three-dimensional image V0 generated in the three-dimensional image photographing device 4, and a virtual endoscopic image generated as will be described below; bronchial image generation processing for generating a three-dimensional bronchial image BO representing a bronchial graph structure from the three-dimensional image V0; virtual endoscopic image generation processing for generating a virtual endoscopic image from the three-dimensional image V0; conversion processing for acquiring a converted actual endoscopic image by converting an expression form of an actual endoscopic image into an expression form of a virtual endoscopic image; similarity calculation processing for calculating similarity between the converted actual endoscopic image and the virtual endoscopic image; position estimation processing for estimating the position of the endoscope distal end 3B in bronchi using the virtual endoscopic image of which the calculated similarity is greater than or equal to a predetermined threshold value; and display control processing for displaying the actual endoscopic image T0, the virtual endoscopic image, the bronchial image BO, a specified position of the endoscope distal end 3B, and the like on the display unit 14.

In a case where the CPU 11 performs these kinds of processing in accordance with the program, the computer as the examination support device 6 functions as an image acquisition unit 21, a bronchial image generation unit 22, a virtual endoscopic image generation unit 23, a conversion unit 24, a similarity calculation unit 25, a position estimation unit 26, and a display control unit 27.

The image acquisition unit 21 acquires the three-dimensional image V0 and the actual endoscopic image T0 which is obtained by imaging the inside of a bronchus at a predetermined viewpoint position using the endoscope device 3. The image acquisition unit 21 may acquire a three-dimensional image V0 and an actual endoscopic image T0 from the storage 13 in a case where the three-dimensional image V0 and the actual endoscopic image T0 are already stored in the storage 13. The actual endoscopic image T0 is an image representing the inner surface of a bronchus, that is, the inner wall of a bronchus. The actual endoscopic image T0 is displayed on the display unit 14 by being output to the display control unit 27. In addition, as will be described below, the image acquisition unit 21 acquires a virtual endoscopic image K0, which is generated by the virtual endoscopic image generation unit 23 and stored in the storage 13, from the storage 13.

The bronchial image generation unit 22 generates the three-dimensional bronchial image BO by extracting a structure of bronchi from the three-dimensional image V0. Specifically, the bronchial image generation unit 22 extracts a graph structure of a bronchial region included in the input three-dimensional image V0 as the three-dimensional bronchial image BO, for example, through a method disclosed in JP2010-220742A. Hereinafter, an example of this method for extracting a graph structure will be described.

In the three-dimensional image V0, a pixel in the inside of bronchi corresponds to an air region, and therefore, is represented as a region showing a low pixel value. The bronchial wall is represented as a cylindrical or linear structure showing a comparatively high pixel value. The bronchi are extracted through analyzing the structure of the shape based on distribution of pixel values for each pixel.

The bronchi are branched in multi-stages, and the diameter of a bronchus decreases toward a terminal. The bronchial image generation unit 22 generates a plurality of three-dimensional images having different resolutions by performing multiple resolution conversion on the three-dimensional image V0 so as to detect the bronchi having different sizes, and applies a detection algorithm for each three-dimensional image with each resolution.

First, a Hessian matrix of each pixel of the three-dimensional image at each resolution is calculated and it is determined whether the pixel is within a tubular structure from a magnitude relation of an eigenvalue of the Hessian matrix. The Hessian matrix is a matrix having a second order partial differential coefficient of a density value in each axial (an x-axis, a y-axis, and a z-axis of the three-dimensional image) direction as an element, and becomes 3×3 matrix as shown in the following formula.

${\nabla^{2}I} = \begin{bmatrix} I_{xx} & I_{xy} & I_{xz} \\ I_{xx} & I_{xy} & I_{xz} \\ I_{xx} & I_{xy} & I_{xz} \end{bmatrix}$ ${I_{xx} = \frac{\delta^{2}I}{\delta \; x^{2}}},{I_{xy} = \frac{\delta^{2}I}{\delta \; x\; \delta \; y^{2}}},\ldots$

In a case where eigenvalues of a Hessian matrix at any pixels are set as λ1, λ2, and λ3, in a case where two eigenvalues among eigenvalues are large and one eigenvalue is close to 0, for example, in a case where λ3, λ2>>λ1, λ1≈0 is satisfied, it is known that the pixels are tubular structures. In addition, an eigenvector corresponding to the minimum eigenvalue (2J 0) of the Hessian matrix coincides with a principal axis direction of the tubular structure.

The bronchi can be represented by a graph structure. However, the tubular structures extracted in this manner are not limited to be detected as one graph structure in which all of tubular structures are connected to each other due to an influence of tumor or the like. Whether a plurality of tubular structures are connected to each other is determined by evaluating whether or not each of the extracted tubular structures is within a certain distance and whether or not an angle formed by a principal axis direction of each tubular structure and the direction of a basic line connecting any points on two extracted tubular structures is within a certain angle, after the detection of the tubular structures from the entirety of the three-dimensional image V0 has been completed. Then, the connection relation of the extracted tubular structures is reconstructed. The extraction of the graph structure of bronchi is completed through the reconstruction.

The bronchial image generation unit 22 can obtain a three-dimensional graph structure representing bronchi as the bronchial image BO by classifying the extracted graph structure into a start point, an end point, a branch point, and a side and by connecting the start point, the end point, and the branch point by the side. FIG. 3 is a view showing the bronchial image BO. The method for generating the graph structure is not limited to the above-described method, and other methods may be employed.

The virtual endoscopic image generation unit 23 generates a virtual endoscopic image K0, which describes the inner wall of a bronchus and is viewed from a viewpoint of the inside of the three-dimensional image V0 corresponding to the viewpoint of the actual endoscopic image T0 in a target route in the bronchi. The generation of the virtual endoscopic image K0 will be described.

First, the virtual endoscopic image generation unit 23 acquires information of a predetermined route, into which the endoscope distal end 3B is to be inserted, in the bronchi. As the information of the route, for example, information of a bronchial image BO designated by an operator using an input unit 15 after being displayed on the display unit 14 is used, but the present invention is not limited thereto. FIG. 4 shows a route 40 of an endoscope set in the bronchial image BO.

The virtual endoscopic image generation unit 23 generates a virtual endoscopic image K0 representing the inner wall of a bronchus at predetermined intervals along the route 40 within the bronchus represented by the acquired information of the route. The predetermined intervals may be, for example, 10 pixels on the route 40, but the present invention is not limited thereto.

The virtual endoscopic image generation unit 23 sets each position on the route 40 as viewpoints. Central projection of projecting the three-dimensional images V0 on a plurality of visual lines radially extended in the insertion direction (that is, the direction toward the terminal of a bronchus) of the endoscope distal end 3B from each set viewpoint on a predetermined projection surface is performed to generate a projection image. This projection image becomes the virtual endoscopic image K0 virtually generated as an image which is photographed at a distal end position of the endoscope. As a specific method of the central projection, it is possible to use, for example, a well-known volume rendering method. In addition, the view angle (the range of the visual lines) of the virtual endoscopic image K0 and the center of the visual field (center in the projection direction) are set in advance through input or the like performed by an operator. A plurality of generated virtual endoscopic images K0 are stored in the storage 13. In the present embodiment, since the three-dimensional image V0 is a CT image, the virtual endoscopic image K0 is a monochrome image represented by a CT value.

For this reason, the virtual endoscopic image generation unit 23 may generate a color virtual endoscopic image K0 by converting the CT value using a color template, of which the color and the transparency are defined in advance, so as to obtain a virtual endoscopic image having substantially the same appearance as that of the inner wall of a bronchus represented in an actual endoscopic image T0. The color template is stored in advance in the storage 13. The presence or absence of a shade of a structure and the kind of light source such as ambient light or diffused light may be defined as display attributes in combination with the color template. In the present embodiment, it is assumed that the virtual endoscopic image K0 generated by the virtual endoscopic image generation unit 23 is a color image.

The conversion unit 24 converts an expression form of the actual endoscopic image T0 into an expression form of the virtual endoscopic image K0. For this reason, a method disclosed in, for example, “Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks, Jun-Yan Zhu, et al., Berkeley AI Research (BAIR) laboratory, UC Berkeley, 30 Mar. 2017, last revised 19 Feb. 2018) (hereinafter, referred to as Non-Patent Document 1) is used for the conversion unit 24. The method described in Non-Patent Document 1 is a method for converting an expression form of an image using a converter subjected to learning so as to convert an input image into an image with an expression form different from the expression form thereof. For example, Non-Patent Document 1 discloses a method of converting a photographic image into a Monet-style image, a Gogh-style image, or a Cezanne-style image.

The conversion unit 24 in the present embodiment comprises a converter including a neural network or the like that is subjected to machine learning so as to convert an expression form of the actual endoscopic image T0 into an expression form of the virtual endoscopic image K0. A well-known method can be used as a machine learning method. For example, a support vector machine, a deep neural network, a convolutional neural network, and a recurrent neural network can be used. In the present embodiment, in a case where the actual endoscopic image T0 includes, as a noise, fogging of the lens or an object that cannot be imaged by photographing, machine learning is performed to convert the noise into the same pixel value as that of the tissue on the periphery of the noise. In addition, a converter that converts an expression form of the actual endoscopic image T0 into an expression form of the virtual endoscopic image K0 through logical operation may be used. With such a converter, as shown in FIG. 5, the expression form of the actual endoscopic image T0 is converted into the expression form of the virtual endoscopic image K0, and as a result, the converted actual endoscopic image T1 which has been converted into the image of the virtual endoscopic image style is acquired. In addition, the noise, such as fogging of the lens and an object that cannot be imaged by photographing, included in the actual endoscopic image T0 is canceled by the conversion. The actual endoscopic image T0 constitutes one frame of a moving image. The conversion unit 24 converts an expression form of the actual endoscopic image T0, which is sequentially acquired, into an expression form of the virtual endoscopic image K0.

The similarity calculation unit 25 calculates similarity between the virtual endoscopic image K0 and the converted actual endoscopic image T1, which is sequentially acquired, in order to estimate the position of the endoscope distal end 3B to be described below. It is possible to use a reciprocal of a sum of absolute values of differences in pixel values between pixels corresponding to the converted actual endoscopic image T1 and the virtual endoscopic image K0, a reciprocal of a sum of squares of differences, or the like as the similarity.

The position estimation unit 26 estimates the position of the endoscope distal end 3B in bronchi using a virtual endoscopic image K0 of which the similarity calculated by the similarity calculation unit 25 is greater than or equal to a predetermined threshold value Th1.

The actual endoscopic image T0 constitutes one frame of a moving image. For this reason, the similarity calculation unit 25 calculates similarity between the virtual endoscopic image K0 and a latest converted actual endoscopic image T1 among converted actual endoscopic images T1 which are sequentially acquired from the moving image and of which the expression forms are converted. Here, in order to estimate the position of the endoscope distal end 3B, the similarity calculation unit 25 may calculate the similarity between the converted actual endoscopic image T1 and all the virtual endoscopic images K0 stored in the storage 13. However, the amount of computation is increased. For this reason, in the present embodiment, the similarity is calculated as follows.

First, the similarity calculation unit 25 specifies a virtual endoscopic image K0 which becomes a reference and is generated at a reference position in a bronchus, as a reference virtual endoscopic image KB. Then, the similarity between the reference virtual endoscopic image KB and a latest converted actual endoscopic image T1 among the converted actual endoscopic images T1 that are sequentially acquired, is calculated. A virtual endoscopic image K0 having a position closest to the entrance of a bronchus in the route 40 of the bronchus as a viewpoint position may be used as the reference virtual endoscopic image KB. In a case where a converted actual endoscopic image T1 of which the similarity with the reference virtual endoscopic image KB is greater than or equal to a threshold value Th2 is acquired, the position estimation unit 26 estimates that the position of the endoscope distal end 3B is at the reference position. The threshold value Th2 may be the same as or different from the threshold value Th1.

In this manner, in a case where the position estimation unit 26 estimates that the position of the endoscope distal end 3B is at the reference position, the similarity calculation unit 25 calculates the similarity between the latest converted actual endoscopic image T1 and one or more virtual endoscopic images K0 within a predetermined range AO from a reference position Pb as shown in FIG. 6. In a case where it is estimated that the endoscope distal end 3B is at the position P1 as shown in FIG. 6 at a point in time when the endoscope distal end 3B moves into the bronchi and a certain converted actual endoscopic image T1 is acquired, regarding a converted actual endoscopic image T1 acquired next, the similarity calculation unit 25 calculates the similarity between the converted actual endoscopic image T1 and one or more virtual endoscopic images K0 within the predetermined range AO including the position P1. That is, since the converted actual endoscopic image T1 constitutes one frame of the moving image, the similarity calculation unit 25 calculates the similarity between the latest converted actual endoscopic image T1 and the virtual endoscopic image K0 every time the converted actual endoscopic image T1 is acquired.

The position estimation unit 26 estimates a position of a viewpoint at which a virtual endoscopic image K0 having the largest similarity being greater than or equal to the threshold value Th1 among the similarities between the latest converted actual endoscopic image T1 and all the virtual endoscopic images K0 within the range AO is generated, as a position of the endoscope distal end 3B.

The display control unit 27 displays an actual endoscopic image T0 and a virtual endoscopic image at a position of the endoscope distal end 3B on the display unit 14. The display control unit 27 may display a bronchial image BO on the display unit 14 and perform display for specifying the endoscope distal end 3B in the displayed bronchial image BO. The display control unit 27 may display the converted actual endoscopic image T1 instead of the actual endoscopic image T0, on the display unit 14. In addition, the display control unit 27 may display both the actual endoscopic image T0 and the converted actual endoscopic image T1 on the display unit 14.

FIG. 7 is a view showing a display image of the display unit 14. As shown in FIG. 7, the converted actual endoscopic image T1, the virtual endoscopic image K0 at the position of the endoscope distal end 3B, and the bronchial image BO are displayed in a display image 50. A movement trajectory 51 of the endoscope and a position Pt of the endoscope distal end 3B are displayed in the bronchial image BO. The actual endoscopic image T0 may be displayed instead of or in addition to the converted actual endoscopic image T1.

Next, processing performed in the present embodiment will be described. FIG. 8 is a flowchart showing processing performed in the present embodiment. The bronchial image BO is generated by the bronchial image generation unit 22 and the virtual endoscopic image K0 is generated by the virtual endoscopic image generation unit 23. These images are stored in the storage 13. In a case where the endoscope distal end 3B is inserted into a subject and an instruction to start an operation is input from the input unit 15, the image acquisition unit 21 acquires an actual endoscopic image T0 (Step ST1). Subsequently, the conversion unit 24 converts an expression form of the actual endoscopic image T0 into an expression form of a virtual endoscopic image K0 to acquire the converted actual endoscopic image T1 (Step ST2). Then, the similarity calculation unit 25 calculates similarity between the converted actual endoscopic image T1 and the reference virtual endoscopic image KB (Step ST3).

Furthermore, the position estimation unit 26 determines whether the similarity calculated by the similarity calculation unit 25 is greater than or equal to the threshold value Th2 (Step ST4). In a case where Step ST4 is denied, the process returns to Step ST1 and the processing from Step ST1 to Step ST4 is repeated.

In a case where Step ST4 is affirmed, the position estimation unit 26 estimates that the endoscope distal end 3B is at the reference position Pb (Step ST5). Subsequently, the image acquisition unit 21 acquires the actual endoscopic image T0 (Step ST6), and the conversion unit 24 converts an expression form of the actual endoscopic image T0 into an expression form of a virtual endoscopic image K0 to acquire the converted actual endoscopic image T1 (Step ST7). Subsequently, the similarity calculation unit 25 calculates similarity between the converted actual endoscopic image T1 acquired in Step ST7 and the virtual endoscopic image K0 within a predetermined range from the current position of the endoscope distal end 3B (Step ST8). Then, the position estimation unit 26 estimates the position, at which the virtual endoscopic image K0 having the largest similarity being greater than or equal to the threshold value Th1 is acquired, as a position of the endoscope distal end 3B (Step ST9). Subsequently, the display control unit 27 displays the converted actual endoscopic image T1 and the virtual endoscopic image K0 (Step ST10). Then, the processing from Step ST6 to Step ST10 is repeated until an instruction to end the operation is issued.

In the processing of the above-described embodiment, in some cases, there is no virtual endoscopic image K0 of which the similarity is greater than or equal to the threshold value Th1. In such a case, the position of the endoscope distal end 3B may be estimated by, for example, expanding the range in which the virtual endoscopic image K0 for calculating the similarity is acquired.

In the present embodiment, the expression form of the actual endoscopic image T0 is converted into the expression form of the virtual endoscopic image K0 and the similarity between the converted actual endoscopic image T1 and the virtual endoscopic image K0 is calculated in this manner. For this reason, even in a case where fogging of the lens or an object that cannot be imaged by photographing is included as a noise in the actual endoscopic image T0, when the actual endoscopic image T0 is converted into the expression form of the virtual endoscopic image K0, the noise can be canceled. Therefore, according to the present embodiment, it is possible to accurately calculate the similarity between the actual endoscopic image T0 and the virtual endoscopic image K0. In addition, it is possible to accurately estimate the position of the endoscope distal end 3B using the similarity calculated in this manner.

The virtual endoscopic image K0 is a color image in the above-described embodiment, but a monochrome virtual endoscopic image K0 may be used. In this case, the conversion unit 24 converts the actual endoscopic image T0 into an expression form of the monochrome virtual endoscopic image K0. In this case, the converted actual endoscopic image T1 is a monochrome image.

In addition, in the above-described embodiment, the position estimation unit 26 estimates the reference position of the endoscope distal end 3B, but the present invention is not limited thereto. For example, as shown in FIG. 9, the endoscope device 3 may be set to have a position detection device 34 and estimate the position of the endoscope distal end 3B by calculating the similarity between the converted actual endoscopic image T1 and the virtual endoscopic image K0 while detecting the position of the endoscope distal end 3B using the position detection device 34.

In this case, the position detection device 34 detects the position and the direction of the endoscope distal end 3B in the body of the subject. Specifically, the position detection device 34 has an echo device having a detection region of a three-dimensional coordinate system in which the position of a specific site of the subject is used as a reference, and detects the relative position and direction of the endoscope distal end 3B in the body of the subject by detecting the characteristic shape of the endoscope distal end 3B using the echo device. Then, the information of the detected position and direction of the endoscope distal end 3B is output to the examination support device 6 as position information Q0 (for example, refer to JP2006-061274A). The detected position and direction of the endoscope distal end 3B respectively correspond to a viewpoint and a visual line direction of an actual endoscopic image T0 obtained through imaging. Here, the position of the endoscope distal end 3B is represented by three-dimensional coordinates in which the above-described position of a specific site of the subject is used as a reference. In addition, the position information Q0 is output to the examination support device 6 using the same sampling rate as that of the actual endoscopic image T0.

In a case where the position detection device 34 is used in this manner, the similarity calculation unit 25 calculates the similarity between the converted actual endoscopic image T1 and one or more virtual endoscopic images K0 within the predetermined range AO from the position of a bronchus represented by the position information Q0. The position estimation unit 26 estimates the position at which a virtual endoscopic image K0 having the largest similarity being greater than or equal to the threshold value Th1 among the similarities between the converted actual endoscopic image T1 and all the virtual endoscopic images K0 within the range AO is generated, as a position of the endoscope distal end 3B, similarly to the above-described embodiment.

In addition, in the above-described embodiment, the similarity calculation unit 25 calculates the similarity with the virtual endoscopic image K0 every time the converted actual endoscopic image T1 is acquired, but the present invention is not limited thereto. For example, it may be determined whether a branched structure of bronchi is included in the actual endoscopic image T0 through a method disclosed in JP2016-163609A, and only in a case where the branched structure of the bronchi is included in the actual endoscopic image T0, a converted actual endoscopic image T1 may be generated and the similarity between the converted actual endoscopic image T1 and the virtual endoscopic image K0 may be calculated.

In addition, in the above-described embodiment, the case where the examination support device of the present disclosure is applied for observing the bronchi has been described. However, the present disclosure is not limited thereto and can be applied even to a case of observing a tubular structure, such as the stomach, the large intestine, and blood vessels using an endoscope.

In addition, in the above-described embodiment, the examination support device 6 comprises the bronchial image generation unit 22 and the virtual endoscopic image generation unit 23, but the present invention is not limited thereto. The bronchial image generation unit 22 and the virtual endoscopic image generation unit 23 may be provided as separate devices from the examination support device 6. In this case, the bronchial image BO and the virtual endoscopic image K0 are input to the examination support device 6 from the separate devices and are acquired by the image acquisition unit 21.

In addition, in the above-described embodiment, it is possible to use, for example, various processors shown below as hardware structures of processing units such as the image acquisition unit 21, the bronchial image generation unit 22, the virtual endoscopic image generation unit 23, the conversion unit 24, the similarity calculation unit 25, the position estimation unit 26, and the display control unit 27 which execute various kinds of processing. A programmable logic device (PLD) such as a field programmable gate array (FPGA) which is a processor capable of changing a circuit configuration after manufacturing and exclusive circuitry such as an application specific integrated circuit (ASIC) which is a processor having a circuit configuration exclusively designed to execute specific processing are included in the above-described various processors in addition to a CPU which is a general-purpose processor which executes software (program) to function as various processing units as described above.

One processing unit may be configured to include one processor among these various processors, or may be configured to include a combination of two or more same or different kinds of processors (for example, a combination of a plurality of FPGAs or a combination of a CPU and a FPGA). In addition, a plurality of processing units may constitute one processor.

An example in which a plurality of processing units constitute one processor includes a form in which a combination of a software and one or more CPUs constitutes one processor so as to be represented by a computer of a client, a server, and the like so that this processor functions as a plurality of processing units. Another example in which a plurality of processing units constitute one processor includes a form of using a processor in which a function of an entire system including a plurality of processing units is realized with one integrated circuit (IC) chip so as to be represented by system-on-chip (SoC) or the like. In this manner, the various processing units are configured using one or more of the above-described various processors as a hardware structure.

Furthermore, more specifically, it is possible to use circuitry, in which circuit elements such as semiconductor elements are combined, as the hardware structure of the various processors. 

What is claimed is:
 1. An examination support device comprising: an image acquisition unit configured to acquire an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure; a conversion unit configured to convert an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image; and a similarity calculation unit configured to calculate similarity between the converted actual endoscopic image and the virtual endoscopic image.
 2. The examination support device according to claim 1, further comprising: a position estimation unit configured to estimate a position of the endoscope in the tubular structure using the virtual endoscopic image of which the calculated similarity is greater than or equal to a predetermined threshold value.
 3. The examination support device according to claim 2, further comprising: a display control unit configured to display the virtual endoscopic image corresponding to the estimated position of the endoscope and the converted actual endoscopic image on a display unit.
 4. The examination support device according to claim 1, further comprising: a virtual endoscopic image generation unit configured to generate the virtual endoscopic image from the three-dimensional image.
 5. An examination support method comprising: acquiring an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure; converting an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image; and calculating similarity between the converted actual endoscopic image and the virtual endoscopic image.
 6. A non-transitory computer-readable storage medium that stores an examination support program causing a computer to execute: acquiring an actual endoscopic image that is generated by an endoscope inserted into a tubular structure of a subject and represents an inner wall of the tubular structure, and a virtual endoscopic image that is generated from a three-dimensional image including the tubular structure of the subject and spuriously represents the inner wall of the tubular structure; converting an expression form of the actual endoscopic image into an expression form of the virtual endoscopic image to acquire a converted actual endoscopic image; and calculating similarity between the converted actual endoscopic image and the virtual endoscopic image. 